package com.dxy.hms.service;

import com.dxy.hms.model.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dxy.hms.model.excel.RoomExcel;

/**
* <p>
* 房间表 服务接口
* </p>
*
* @author dxy
* @since 2024-10-29
*/
public interface RoomService extends IService<Room> {

    void add(Room entity);

    void updById(Room entity);

    void delByIds(List<Long> ids);

    Room getDetail(Long id);

    IPage<Room> getPage(Long roomTypeId, String roomStatus, Long pageNum, Long pageSize);

    List<RoomExcel> findRoomExcel(Long roomTypeId, String roomStatus);

}
